<?php
namespace App\Http\Controllers;

use Laravel\Lumen\Routing\Controller as BaseController;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Db;

Class GitController extends Controller
{
    public function git()
    {

        header('Content-type:text/html;charset=utf-8');
        $output = shell_exec("cd /home/wwwroot/oxygen_system; sudo /usr/local/git/bin/git pull 2<&1");

        echo "<pre>$output</pre>";
    }


    
    public function phpinfo(){
        echo phpinfo();
    }
}
